package cn.wl;

import java.util.ArrayList;
import java.util.List;
//PageList是将根据条件查询到的分页相关数据返回到前端
public class PageList {
    //总的页数
    private Long total;
    //当前页的全部数据
    private List rows = new ArrayList();

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }

    public PageList(Long total, List rows) {
        this.total = total;
        this.rows = rows;
    }
   public PageList() {
    }
}
